package tech.xs.common.util.structure;

import java.util.Collection;

public interface Tree<T> {

    String getCode();

    String getFatherCode();

    T getFather();

    Collection<T> getChildren();

    void setChildren(Collection<T> children);

    void setFather(T father);
}
